﻿package bdz.projects.lavender.doi.ui
{
	
	import bdz.common.display.DisplayLoader;
	import bdz.projects.lavender.doi.ui.core.DOIListView;
	import flash.display.MovieClip;
	import flash.events.Event;
	
	/**
	 * ...
	 * @author ...
	 */
	public class DOIModuleListView extends DOIListView 
	{
		
		private var _catObj:Object;
		private var animationLayer:DisplayLoader;
		private var textHeader:MovieClip;
		private var _hrenderer:String;
		
		function DOIModuleListView() {
			super();
		}
		override protected function layoutViews():void {
			
			super.layoutViews();
			
			var sy:Number = 0;
			var sx:Number = 0;
			for each(var o:* in _items) {
				o.y = sy;
				o.x = sx;
				sy += Math.ceil(o.height);
				addChild(o);
			}
		}
		public function set headerRenderer(rnd:String):void {
			_hrenderer = rnd;
		}
		public function get headerRenderer():String {
			return _hrenderer;
		}
		public function set category(obj:Object):void {
			_catObj = obj;
		}
		public function get category():Object {
			return _catObj;
		}
		
	}
	
}